package com.googlecode.cswish.struts.conversion;

import org.apache.struts2.components.TextField;

import com.googlecode.cswish.model.PageElement;

/**
 * Default converter, convert text object
 * 	 
 * @author jerry.feng Date: 2009-1-13
 */
public class TextFieldElementConverter extends CommonElementConverter {

	@Override
	public PageElement convert(ConversionContext context) {
		PageElement element = super.convert(context);
		element.setType(TextField.class.getName());
		return element;
	}
}